<template>
  <div class="home">
    <van-nav-bar
      title="智能核保助手"
      fixed
      placeholder
      left-arrow
      @click-left="onClickLeft"
    />
    <p class="title">智能核保助手</p>
    <img :src="imgSrc" alt="">
    <p class="cen1">OCR识别引擎+通用大模型</p>
    <p class="cen2">分析体检报告，智能评估核保建议</p>
    <div class="btnbox">
      <div class="item2" @click="systemClk">进入系统</div>
      <div class="item1">分享给客户</div>
    </div>
  </div>
</template>

<script>
import homepng from "@/assets/img/home.png"

export default {
  name: 'HomeView',
  components: {
    //HelloWorld
  },
  data(){
    return{
      imgSrc:homepng,
    }
  },

  methods:{
    onClickLeft() {
      this.$toast('返回')
    },
    systemClk() {
      this.$router.push({path:"/consult"})
    },
  }
}
</script>

<style scoped>
  .home{
    background-color: #fce7e9;
    height: 100vh;
  }

  .title{
    margin-top: 20px;
    font-family: BigruixianBlackGBV1.0;
    font-size: 42px;
    color: #FFFFFF;
    font-weight: 900;
    background: linear-gradient(to top, #eb3433, #fa6f35);
    -webkit-background-clip: text;/*将设置的背景颜色限制在文字中*/
    -webkit-text-fill-color: transparent;/*给文字设置成透明*/
  }

  img{
    width: 375px;
    height: 385px;
    margin-top: 20px;
  }

  .cen1{
    font-family: PingFangSC-Semibold;
    font-size: 16px;
    color: #B31F26;
    font-weight: 600;
  }

  .cen2{
    margin-top: 10px;
    font-family: PingFangSC-Semibold;
    font-size: 18px;
    color: #B31F26;
    font-weight: 600;
  }

  .btnbox{
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
  }

  .btnbox div{
    height: 50px;
    width: 180px;
    line-height: 50px;
    border-radius: 50px;
    
  }

  .btnbox .item1{
    color: #eb3433;
    background-color: #fff;
    border: 1px solid #eb3433;
  }

  .btnbox .item2{
    color: #fff;
    background-color: #eb3433;
    border: 1px solid #eb3433;
    background: linear-gradient(to right, #eb3433, #fa6f35);
  }
  
</style>
